package com.ev.asl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ev.asl.domain.AslReportWorkDO;
import com.ev.asl.dto.AslReportWorkParam;
import com.ev.asl.vo.AslReportWorkVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface AslReportWorkMapper extends BaseMapper<AslReportWorkDO> {
    IPage<AslReportWorkDO> pageList(Page<AslReportWorkDO> page, @Param("param") AslReportWorkParam param);

    AslReportWorkVo getByshift(@Param("shift") Integer shift, @Param("mpiId") Long mpiId, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
}
